#ifndef CLOCK_MANAGER_H
#define CLOCK_MANAGER_H

#include "hub75e.h"
#include "ntpTime.h"

// Manage periodic clock updates. Returns true if the clock was updated (redrawn).
// rightTzOffsetHours: timezone offset (hours) to use when drawing the right panel (e.g. -8 for San Francisco)
bool maybeUpdateClock(Panel &panel, NTPTime &ntpTime, unsigned long &lastClockUpdate, unsigned long clockIntervalMs, int rightTzOffsetHours = -8);

#endif
